package com.matching.dao;

import java.util.List;
import java.util.Map;

import com.matching.domain.MatchingCommand;
import com.propose.domain.ProposeCommand;

public interface MatchingDao {
	public void request(MatchingCommand matchingCommand);
	public String getReceiveName(String id);
	public String checkPropose(String id);
	public int registered(String id);
	public int getRowCount(MatchingCommand matchingCommand);
	public List<MatchingCommand> proposeList(Map<String, Object> map);
	public int selectPropose(MatchingCommand matchingCommand);
	public String getSendId(int num);
	public String getOtherPerson(int num);
	public void sendOtherperson(int num);
	public ProposeCommand getProposeInfo(MatchingCommand matchingCommand);
	public List<MatchingCommand> sendProposeList(Map<String, Object> map);
	public List<MatchingCommand> receiveProposeList(Map<String, Object> map);
	public int getSendProposeCount(String id);
	public int getReceiveProposeCount(String id);
	public void acceptPropose(int num);
	public void rejectPropose(int num);
	public void proposeSuccessed(int num);
	public void proposeFailed(int num);
}
